﻿using Domain.Entity;
using Domain.Entity.Fy;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Repository
{
	public interface IEIRepository
	{
		List<EI> GetEI();

		Task<bool> AddEI(EI e);

		Task<bool> UpdateEI(EI e);
		Task<bool> UpdateEICheckStatus(EI e);
		List<IAM> GetAllEI();

		Task<bool> DeleteEI(int id);

		IAMFy GetEIFY(int currentPage, int pageSize, string checkStatus);

		List<IAM> GetIAMs();
		//查审核意见为通过的数据

		IAMFy GetEIFYTongyi(int currentPage, int pageSize, string PassPassComment);


		//查审审批见为通过的数据
		IAMFy GetEIFYPassPassComment(int currentPage, int pageSize, string PassPassComment);

	}
}
